import type TooltipBox from './tooltipBox.vue'
import { buildProps, definePropType } from '@/utils'

export const tooltipBoxProps = buildProps({
  content: {
    type: String
  },
  width: {
    type: definePropType<number | string>([Number, String])
  }
} as const)

export type TooltipBoxstance = InstanceType<typeof TooltipBox>
